package com.insta.esper.producerws;

import javax.jws.WebService;

@WebService(endpointInterface = "com.insta.esper.producerws.InfoConnexion")
public class InfoConnexionWS implements InfoConnexion {

	public ObjectAMQ connexion(String queueName, String productName, double productPrice) {
		
		String urlAMQ = "tcp://localhost:61616";
		
		return new ObjectAMQ(queueName, urlAMQ, productName, productPrice);

	}
}
 